TierPricingTable\TierPricingTablePlugin S

Total Complexity 34
Dependencies 26
Dependents 21
Total lines 231
Lines of code 150
Logical lines of code 76
Comment lines 51
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
checkRequirements()
S
59 5 14
addPluginsMeta()
S
60 4 11
__construct()
S
51 2 27
run()
S
55 1 20
addPluginActions()
S
66 2 7
saveActivationTime()
S
73 2 5
getCurrentUser()
S
66 2 8
getAvailablePricingLayouts()
S
62 1 11
getDocumentationURL()
S
81 1 3
getCurrentUserRoles()
S
74 1 4
getRulesSeparator()
S
79 1 3
getAccountPageURL()
S
80 1 3
getContactUsURL()
S
80 1 3
isVariableProductSupported()
S
79 1 3
activate()
S
82 1 3
isVariationProductSupported()
S
79 1 3
isSimpleProductSupported()
S
79 1 3
getSupportedVariationProductTypes()
S
78 1 3
getSupportedVariableProductTypes()
S
78 1 3
getSupportedSimpleProductTypes()
S
78 1 3
uninstall()
S
80 1 3
loadTextDomain()
S
75 1 4
getPluginActivationDate()
S
78 1 3